package main.java.md.ljh;

public class Teacher {
    private String tName;
    private int tAge;
    private String tType;

    public Teacher() {
    }

    public Teacher(String tName, int tAge, String tType) {
        this.tName = tName;
        this.tAge = tAge;
        this.tType = tType;
    }

    public String gettName() {
        return tName;
    }

    public void settName(String tName) {
        this.tName = tName;
    }

    public int gettAge() {
        return tAge;
    }

    public void settAge(int tAge) {
        this.tAge = tAge;
    }

    public String gettType() {
        return tType;
    }

    public void settType(String tType) {
        this.tType = tType;
    }

    @Override
    public String toString() {
        return "Teacher{" +
                "tName='" + tName + '\'' +
                ", tAge=" + tAge +
                ", tType='" + tType + '\'' +
                '}';
    }
}
